import axios from 'axios'
import qs from 'qs'
const prefix = "/api/front/deposit"
const headers = {
    'Content-Type': 'application/x-www-form-urlencoded'
}
export const selectAll = async function(info={}){
    // 如果是Get提交，参数放在params属性中，而且不需要进行转换
    let response= await axios({
        // headers,
        method:"get",
        url:prefix,
        params:info
    })
    return response.data.data;
}
export const AddDeposit = async function(DepositTwoDTO){
    let response= await axios({
        // headers,
        method:"post",
        url:prefix,
        data:DepositTwoDTO
    })
    return response.data;
}


